/*
 * 版权所有 2009-2023山东新北洋信息技术股份有限公司 保留所有权利。
 */
package online.xuping.thousandsOfWorlds.common.event;

import org.springframework.context.ApplicationEvent;

import java.time.Clock;

/**
 * 资产事件基础类
 *
 * @author zhongzhenguo
 * @date 2023/5/30 10:44
 * @copyright 2023 山东新北洋信息技术股份有限公司. All rights reserved
 */
public class AssetEvent extends ApplicationEvent {


    /**
     * 资产编码
     */
    private String assetCode;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 区仓编码
     */
    private String warehouseCode;
    /**
     * 关联任务code
     */
    private String associatedTaskCode;

    /**
     * 创建人名称
     */
    private String createUserName;

    /**
     * 创建人
     */
    private Integer createUserId;

    public AssetEvent(Object source) {
        super(source);
    }

    public AssetEvent(Object source, Clock clock) {
        super(source, clock);
    }

    public String getAssetCode() {
        return assetCode;
    }

    public void setAssetCode(String assetCode) {
        this.assetCode = assetCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getAssociatedTaskCode() {
        return associatedTaskCode;
    }

    public void setAssociatedTaskCode(String associatedTaskCode) {
        this.associatedTaskCode = associatedTaskCode;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
}
